<?php
/**
 *
 * @author Quentin Laujac, Charles Hurtevent
 *
 */
require_once ("../enums/enums.php");
require_once ("../services/AuthentificationService.php");
require_once ("../services/AdminService.php");
require_once ("../bean/data/Commande.php");
require_once ("../bean/data/Utilisateur.php");
require_once ("../bean/data/Lieu.php");

$adminService = new AdminService();
session_start ();
$admin = $_SESSION ['login'];
$listCommandeNonFacturees = $adminService->getListCommandeNonFacturees();

$_SESSION ['listCommande'] = $listCommandeNonFacturees;
header ( 'Location: ../web/admin_consulter_commandes_non_facturee.php' );
exit ();
